package com.xmartjoy.java.david;

public class main {
    public static void main(String[] args) {
//        System.out.println("HelloDavid!");
//        User u = new User();
//        u.setName("Hib");
//        u.setPassword("12312389");
//        u.setType("WorkStation");
//        UserDAOImpl udi = new UserDAOImpl();
//        udi.save(u);
//        udi.delete(udi.findById(3));
//        User ui = new User();
//        for(int i=4;i<8;i++){
//            ui = udi.findById(i);
//            System.out.println("ID= "+ui.getId()+"\nName="+ui.getName()+"\nPassword"+ui.getPassword()+"\nType="+ui.getType());
//        }

        WebUser ui = new WebUser();
        System.out.println("ID= "+ui.getID()+"\nName="+ui.getUsername()+"\nPassword"+ui.getPassword()+"\nType="+ui.getType());
    }
}
